package com.bootdo.clouddo.domain.article;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name = "article_detail")
public class ArticleDetailDO implements Serializable {

    private static final long serialVersionUID = 8210062196544524624L;

    @Id
    @Column(name="ID",length=50, unique=true)
    private Long id;

    @Column(name = "content",columnDefinition = "MEDIUMTEXT COMMENT '文章内容'")
    private String content;
    @Column(name = "before_content",columnDefinition = "MEDIUMTEXT COMMENT '原文内容'")
    private String beforeContent;
    @Column(name = "create_time",columnDefinition = "datetime COMMENT '创建时间'")
    private Date createTime;
    @Column(name = "status")
    private Integer status;
    public Long getId() {
        return id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getContent() {
        return content;
    }
    public void setContent(String content) {
        this.content = content;
    }
    public String getBeforeContent() {
        return beforeContent;
    }
    public void setBeforeContent(String beforeContent) {
        this.beforeContent = beforeContent;
    }
    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public Integer getStatus() {
        return status;
    }
    public void setStatus(Integer status) {
        this.status = status;
    }
}
